package com.mediastory.spsserver.users.service;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.users.domain.Users;

/**
 * @author Jaewon Choi
 *
 */
public interface UsersSvc {
	
	public Users findbyAuth(String userId) throws Exception;
	
	public List<Users> findbyList(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPaging(Map<String, Object> condition) throws Exception;
	
	public Users findby(Integer idx) throws Exception;
	
	public Users add(Users user) throws Exception;
	
	public Users modify(Users user) throws Exception;
	
	public int remove(Map<String, Object> condition) throws Exception;
	
	public String findbyChkDupl(Map<String, Object> condition) throws Exception;

}